package com.lawyer.entity;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 团员表
 *
 */
@Entity
@Table
public class RegimentalMember extends AbstractAuditingEntity {

	@Id
	private String id;


	@ApiModelProperty(value = "团长Id")
	private String leaderId;

	@ApiModelProperty(value = "团长名字")
	private String leaderName;

	@ApiModelProperty(value = "成员id")
	private String memberId;

	@ApiModelProperty(value = "成员名字")
	private String memberName;

	@Column(columnDefinition = "LONGTEXT")
	@ApiModelProperty(value = "等级id,topId等于自己id表示为团长")
	private String topId;

	@ApiModelProperty(value = "团长头像")
	private String leaderHeaderIco;

	@ApiModelProperty(value = "团长手机")
	private String leaderPhone;

	@ApiModelProperty(value = "成员头像")
	private String memberHeaderIco;

	@ApiModelProperty(value = "成员手机")
	private String memberPhone;

	@ApiModelProperty(value = "等级划分,默认1级,1=员团，2=站长，3=团长")
	private Integer starLevel = 1;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLeaderId() {
		return leaderId;
	}

	public void setLeaderId(String leaderId) {
		this.leaderId = leaderId;
	}

	public String getLeaderName() {
		return leaderName;
	}

	public void setLeaderName(String leaderName) {
		this.leaderName = leaderName;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getTopId() {
		return topId;
	}

	public void setTopId(String topId) {
		this.topId = topId;
	}

	public String getLeaderHeaderIco() {
		return leaderHeaderIco;
	}

	public void setLeaderHeaderIco(String leaderHeaderIco) {
		this.leaderHeaderIco = leaderHeaderIco;
	}

	public String getLeaderPhone() {
		return leaderPhone;
	}

	public void setLeaderPhone(String leaderPhone) {
		this.leaderPhone = leaderPhone;
	}

	public String getMemberHeaderIco() {
		return memberHeaderIco;
	}

	public void setMemberHeaderIco(String memberHeaderIco) {
		this.memberHeaderIco = memberHeaderIco;
	}

	public String getMemberPhone() {
		return memberPhone;
	}

	public void setMemberPhone(String memberPhone) {
		this.memberPhone = memberPhone;
	}

	public Integer getStarLevel() {
		return starLevel;
	}

	public void setStarLevel(Integer starLevel) {
		this.starLevel = starLevel;
	}

}
